package com.ruoqing.auth.service.impl;

import com.ruoqing.auth.dao.AuthPermissionDao;
import com.ruoqing.auth.service.AuthPermissionService;
import com.ruoqing.redis.domain.AuthPermission;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
	* @author YaoXian
	* @title: AuthPermissionServiceImpl
	* @projectName ruoxi-blog
	* @description: 若兮微服务 - 认证授权中心 -  用户权限业务层实现类
	* @date 2020-11-26 15:26
	*/
@Service
public class AuthPermissionServiceImpl implements AuthPermissionService {
		
		@Resource
		private AuthPermissionDao authPermissionDao;
		
		public List<AuthPermission> findPerByUserId(Long userId) {
				
				return authPermissionDao.findPerByUserId(userId);
		}
}
